//
//  XTItemTitleView.swift
//  HrenryWeibo
//
//  Created by 熊涛 on 16/5/15.
//  Copyright © 2016年 熊涛. All rights reserved.
//

import UIKit

class XTItemTitleView: UIButton {


    //设置子控件的布局
    override func layoutSubviews() {
        super.layoutSubviews()
        
        //设置TitleLable的frame
        titleLabel?.frame.origin.x = 0
        
        //设置imageView的frame
        imageView?.frame.origin.x = (titleLabel?.frame.width)! + 5
        
    }
    
    
}
